package com.by.service.impl;

import com.by.bean.Product;
import com.by.common.crud.BaseServiceImpl;
import com.by.mapper.ProductMapper;
import com.by.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

@Service
public class ProductServiceImpl extends BaseServiceImpl<Product, ProductMapper> implements ProductService {


    @Override
    public List queryAll() {
        return baseMapper.queryAll();
    }
    public int fileload(Map map){return baseMapper.fileload(map);}
    public List querytype(){return baseMapper.querytype();}
    public int save(Product product){return baseMapper.save(product);}
    public   List querypro(){return baseMapper.querypro();};
}
